package com.othershe.behaviortest;

import android.os.Bundle;

import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;

import com.google.android.material.appbar.AppBarLayout;

/**
 * 请用一句话概括当前类的功能
 *
 * @author liangpingyy
 * created time 12/11/2025 06:31
 */
public class Test5Activity extends AppCompatActivity {
    private AppBarLayout barLayout;
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_testddd);
        barLayout = findViewById(R.id.appbar_layout);
        barLayout.addOnOffsetChangedListener(new AppBarLayout.BaseOnOffsetChangedListener() {
            @Override
            public void onOffsetChanged(AppBarLayout appBarLayout, int verticalOffset) {

            }
        });
    }
}
